//
//  WhetherModel.swift
//  whetherDemo
//
//  Created by 姚东 on 2025/2/19.
//

import Foundation
struct WhetherTemperatureModel : Decodable{
    let latitude:Double
    let longitude:Double
    let generationtime_ms:Double
    let utc_offset_seconds:Int
    let timezone:String
    let elevation :Int
    let hourly:HourlyModel
    let hourly_units:HourlyUnitsModel
}
struct HourlyUnitsModel :Decodable {
    let time:String
    let temperature_2m:String
}
struct HourlyModel :Decodable {
    let time:Array<String>
    let temperature_2m:Array<Double>
}
